package com.lp.ex2;
/**
 * 基础三:里氏代换原则
 *
 */
public class MainClass {
	public static void main(String[] args) {
		fly(new Laoying());
	}
	
	public static void fly(Bird bird) {
		bird.fly();
	}
}
